package cn.com.dhcc.adam.spring.xmlcentric;

public class TransferService {

	private AccountRepository accountRepository;
	
	public AccountRepository getAccountRepository() {
		return accountRepository;
	}

	public void setAccountRepository(AccountRepository accountRepository) {
		this.accountRepository = accountRepository;
	}

	public TransferService(AccountRepository accountRepository) {
		this.accountRepository = accountRepository;
	}
	
	public void printInfo(){
		System.out.println(accountRepository.getInfo());
	}

}
